package cn.jeasy.core.bean.annotation;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Retention(RUNTIME)
@Target(TYPE)
@Documented
public @interface Component {
	 String value() default "";	
	 String name() default "";//名字
	 Class<? extends Annotation>[] annotations() default {Component.class,Repository.class,Service.class};

}
